<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>sysResource</title>
  <#include "/include/layui-top.html">
</head>
<body>
<div class="layui-btn-group layui-fluid">
  <button class="layui-btn layui-btn-sm" id="save-opt">
	<i class="iconfont">&#xe936;</i> 保存
  </button>
  <button class="layui-btn layui-btn-sm layui-btn-danger" batch-del-opt="deleteNodeChecked">
	<i class="layui-icon">&#xe640;</i> 批量删除
  </button>
  <button type="button" class="layui-btn layui-btn-sm layui-btn-normal" id="refresh-opt">
  	<i class="layui-icon">&#xe669;</i> 刷新
  </button>
</div>
<div class="layui-row">
    <div class="layui-col-md4">
	<!-- 卡片开始 -->
    <div class="layui-card">
      <div class="layui-card-header">资源浏览器</div>
      <div class="layui-card-body">
        <div id="treePanel"></div>
      </div>
    </div>
	<!-- 卡片结束 -->
    </div>
    <div class="layui-col-md8">
    
    <form class="layui-form layui-fluid" id="treeform" lay-filter="treeform" action="javascript:;">
	    <input class="layui-input" type="hidden" id="id-win" name="id" placeholder="id"   autocomplete="off" />
	    <div class="layui-form-item">
	    	<div class="layui-inline">
	            <label class="layui-form-label">资源ID</label>
	            <div class="layui-input-inline">
	                <input class="layui-input" type="text" id="id-win" name="id" placeholder="资源ID" lay-verify="required" autocomplete="off" readonly/>
	            </div>
	        </div>
	        <div class="layui-inline">
	            <label class="layui-form-label">资源名称</label>
	            <div class="layui-input-inline">
	                <input class="layui-input" type="text" id="name-win" name="name" placeholder="资源名称"  lay-verify="required" autocomplete="off" />
	            </div>
	        </div>
	    </div>
	    <div class="layui-form-item">
	        <div class="layui-inline">
	            <label class="layui-form-label">资源代码</label>
	            <div class="layui-input-inline">
	                <input class="layui-input" type="text" id="permission-win" name="permission" placeholder="资源代码"  autocomplete="off" />
	            </div>
	        </div>
	        <div class="layui-inline">
	            <label class="layui-form-label">链接</label>
	            <div class="layui-input-inline">
	                <input class="layui-input" type="text" id="url-win" name="url" placeholder="链接"   autocomplete="off" />
	            </div>
	        </div>
	    </div>
	    <div class="layui-form-item">
	        <div class="layui-inline">
	            <label class="layui-form-label">资源类型</label>
	            <div class="layui-input-inline">
				  <select name="type" lay-verify="">
					<option value="">资源类型</option>
					<option value="operation">操作</option>
					<option value="url">URL链接</option>
				  </select>      
	            </div>
	        </div>
	        <div class="layui-inline">
	            <label class="layui-form-label">更新时间</label>
	            <div class="layui-input-inline">
	                <input class="layui-input" type="text" id="updateTime-win" name="updateTime" placeholder="update_time" readonly  autocomplete="off" />
	            </div>
	        </div>
	    </div>
		<input id="treeform-submit" lay-filter="treeform-submit" lay-submit hidden/>
	</form>
    
    </div>
</div>
<#include "/include/layui-end.html">
<script>
	layui.config({
		base: '/components/app/boss/sysResource/'
	}).use(['table','laydate','layer','form','tree', 'util','sysResourcePage'],function(){
		var sysResourcePage = layui.sysResourcePage;
		sysResourcePage.render();
	});
</script>
</body>
</html>